package com.gzc.pm.enum
{
	import mx.collections.ArrayCollection;

	public class ModeEnum
	{
		public function ModeEnum(value:uint=0, name:String="")
		{
			this.value = value;
			this.name = name;
		}
		
		public var value:uint;
		public var name:String;
		
		public static const HISTORY:ModeEnum = new ModeEnum(0, '历史');
		public static const IMMEDIATE:ModeEnum = new ModeEnum(1, '实时');
		
		[Bindable] public static var modeList:ArrayCollection = new ArrayCollection([
			HISTORY, IMMEDIATE
		]);
	}
}